import { baseRequest } from '@/utils/request'

const request = (url, ...arg) => baseRequest(`/api/holidays/${url}`, ...arg)
/**
 * 配置
 *
 * @author mh
 * @date 2022-09-22 22:33:20
 */
export default {
  // 获取假期集合
  getHolidays(data) {
    return request('getHolidays', data, 'get')
  },
  // 更改日期
  UpdateDate(data) {
    return request('updateDate', data)
  },


}
